package com.open.capacity.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BusinessFinance {
    private Long    finaid;	//财务ID
    private Long    busiid;	//商家ID
    private String  usname;	//商家姓名
    private String  orcode;	//订单号
    private String  stname;	//工位名称
    private Integer letime; //租赁时长
    private Float   prices;	//金额
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date    crtime;	//购买时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date    uptime;	//修改时间
    private Integer enable;	//启用状态 0表示删除 1表示正常
}
